package com.nelson.musicplayer.source.bean

/**
 * @author nelson
 * @since 2020-07-29
 */
data class HomeData(
    val JS_CSS_DATE: Int,
    val __Tpl: String,
    val banner: List<Banner>,
    val `data`: List<Data>,
    val fr: Any,
    val kg_domain: String,
    val src: String,
    val ver: String
) {

    data class Banner(
        val extra: Extra,
        val id: Int,
        val imgurl: String,
        val online: Int,
        val title: String,
        val type: Int
    ) {

        data class Extra(
            val collectcount: Int,
            val global_specialid: String,
            val imgurl: String,
            val intro: String,
            val percount: Int,
            val play_count: Int,
            val publishtime: String,
            val singername: String,
            val slid: Int,
            val songcount: Int,
            val specialid: Int,
            val specialname: String,
            val suid: Int,
            val tourl: String,
            val trans_param: TransParam,
            val type: Int
        ){
            data class TransParam(
                val special_tag: Int
            )

        }
    }

    data class Data(
        val `320filesize`: Int,
        val `320hash`: String,
        val `320privilege`: Int,
        val addtime: String,
        val album_audio_id: Int,
        val album_id: String,
        val audio_id: Int,
        val bitrate: Int,
        val duration: Int,
        val extname: String,
        val fail_process: Int,
        val fail_process_320: Int,
        val fail_process_sq: Int,
        val feetype: Int,
        val filename: String,
        val filesize: Int,
        val first: Int,
        val has_accompany: Int,
        val hash: String,
        val inlist: Int,
        val isfirst: Int,
        val issue: Int,
        val m4afilesize: Int,
        val musical: Any,
        val mvhash: String,
        val old_cpy: Int,
        val pay_type: Int,
        val pay_type_320: Int,
        val pay_type_sq: Int,
        val pkg_price: Int,
        val pkg_price_320: Int,
        val pkg_price_sq: Int,
        val price: Int,
        val price_320: Int,
        val price_sq: Int,
        val privilege: Int,
        val recommend_reason: String,
        val remark: String,
        val rp_publish: Int,
        val rp_type: String,
        val sqfilesize: Int,
        val sqhash: String,
        val sqprivilege: Int,
        val topic_url: String,
        val topic_url_320: String,
        val topic_url_sq: String,
        val trans_param: TransParamX
    ){
        data class TransParamX(
            val appid_block: String,
            val cid: Int,
            val cpy_grade: Int,
            val cpy_level: Int,
            val display: Int,
            val display_rate: Int,
            val exclusive: Int,
            val musicpack_advance: Int,
            val pay_block_tpl: Int
        )
    }
}



